<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
        <?php 
       $css = 80;
       $sj = 86;
       $javascript = 82;
       $Ace = ($css + $sj + $javascript)/3;
       
       define('PI',3.14);
       define('DRPAIH','c:/wamp/www/');
       echo DRPATH ."nh2015/index3.php";
       const pi01 = 3.1415;
       echo pi01;
       ?>
    <table>
        <tr>
            <th>课程</th>
            <th>分数</th>
        </tr>
        <tr>
            <td>css</td>
            <td><?php echo $css; ?></td>
        </tr>
        <tr>
            <td>sj</td>
            <td><?php echo $sj; ?></td>
        </tr>
        <tr>
            <td>jacascript</td>
            <td><?php echo $javascript; ?></td>
        </tr>
         <tr>
            <td>平均分</td>
            <td><?php echo $Ave; ?></td>
        </tr>
    </table>   
            
</body> 
</html>
        


